<div>
    <div class="modal-body" th:object="${equipment}">
        <input type="hidden" name="equipmentId" th:value="*{equipmentId}">
        <div class="form-group row">
            <label for="equipmentName" class="col-form-label col-sm-4">器材名称:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="equipmentName" name="equipmentName" th:value="*{equipmentName}" readonly>
        </div>
        <div class="form-group row">
            <label for="equipmentSpecifications" class="col-form-label col-sm-4">器材规格:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="equipmentSpecifications" name="equipmentSpecifications" th:value="*{equipmentSpecifications}" readonly>
        </div>
        <div class="form-group row">
            <label for="equipmentPrice" class="col-form-label col-sm-4">器材价格:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="equipmentPrice" name="equipmentPrice"  maxlength="20" th:value="*{equipmentPrice}"readonly>
        </div>
        <div class="form-group">
            <label for="equipmentCount" class="col-form-label">器材数量</label>
            <input type="number" class="form-control" id="equipmentCount" name="equipmentCount"  maxlength="30" placeholder="请输入耗材出库数量" required>
        </div>
        <div class="form-group">
            <label for="borrowOrRepay" class="col-form-label">借/还</label>
            <select  class="form-control form-control-chosen" id="borrowOrRepay" name="state" data-placeholder="请选择" required>
                <option value="0">借出</option>
                <option value="1">归还</option>
            </select>
        </div>
        <div class="form-group">
            <label for="teacherNumber" class="col-form-label">借还人</label>
            <input type="text" class="form-control" id="teacherNumber" name="teacherNumber"  maxlength="50" placeholder="请输入教师工号" required>
        </div>
    </div>
    <div class="modal-footer">
        <input class="btn btn-primary"  type="submit"  value="提交">
        <button type="button" class="btn btn-secondary" data-dismiss="modal" id="consumableDialogClose">Close</button>
    </div>
</div>